﻿namespace WebApplication1.Models
{
    /// <summary>
    /// 学生实体
    /// </summary>
    [SqlSugar.SugarTable(tableName:"student")]
    public class StudentModel
    {
        /// <summary>
        /// 学生编号
        /// </summary>
        [SqlSugar.SugarColumn(IsPrimaryKey =true,IsIdentity =true,ColumnName ="id")]
        public int Id { get; set; }
        /// <summary>
        /// 学生名称
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName ="studentname")]
        public string StudentName { get; set; }
        /// <summary>
        /// 学生年龄
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName ="studentage")]
        public int StudentAge { get; set; }
    }
}
